﻿@font-face {
    font-family: 'Raleway';
    src: url('../fonts/raleway-v12-latin-regular.eot'); /* IE9 Compat Modes */
    src: url('Raleway.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/raleway-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/raleway-v12-latin-regular.woff') format('woff'), /* Pretty Modern Browsers */
    url('../fonts/raleway-v12-latin-regular.bin') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/raleway-v12-latin-regular.svg') format('svg'); /* Legacy iOS */
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    color: #515044;
    font-family: "Raleway", sans-serif;
    overflow: auto;
    overflow-x: hidden;
}

.music-player-container {
    -webkit-transform: translate(-50%, -60%);
    transform: translate(-50%, -60%);
    display: inline-block;
    margin-top: 30px;
    height: 1px;
    position: relative;
    min-width: 460px;
    left: 50%;
    /*top: 40%;*/
    z-index: 99997;
}

    .music-player-container:after {
        -webkit-filter: blur(8px);
        filter: blur(8px);
        /*background-color: rgba(0, 0, 0, 0.8);*/
        bottom: -2px;
        content: " ";
        display: block;
        height: 10px;
        left: 19px;
        position: fixed;
        -webkit-transform: rotate(-3deg);
        transform: rotate(-3deg);
        width: 70%;
        z-index: 0;
    }

.music-player {
    background-color: #fff;
    height: 370px;
    padding: 40px 215px 40px 5px;
    position: absolute;
    text-align: right;
    width: 460px;
    z-index: 3;
    border-radius: 10px;
}

.player-content-container {
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50%;
    position: relative;
}

.artist-name {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 0.75em 0;
}

.album-title {
    font-weight: 200;
    font-size: 24px;
    margin: 0 0 1.75em 0;
}

.song-title {
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 1.75em 0;
}

.album {
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.65);
    height: 315px;
    margin-left: 250px;
    margin-top: 27px;
    position: relative;
    width: 315px;
    z-index: 10;
}

.album-art {
    background-image: url('../img/cover.jpeg');
    background-size: cover;
    background-position: center center;
    height: 320px;
    position: relative;
    width: 315px;
    z-index: 10;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.65);
}

.vinyl {
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    transition: all 500ms;
    background-image: url("../img/vinyl.png"), url("../img/cover.jpeg");
    background-position: center, center;
    background-size: cover, 60% auto;
    background-repeat: no-repeat;
    border-radius: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    height: 300px;
    /*left: 180px;*/
    left:18%;
    position: absolute;
    top: -100px;
    width: 300px;
    z-index: 5;
    will-change: transform, left;
    transform: translateX(-50%);
}

.is-playing {
    left: 180px !important;
}

.music-player-controls {
    text-align: center;
}

[class^="control-"] {
    -webkit-filter: brightness(95%);
    filter: brightness(95%);
    /*border-radius: 100%;*/
    /*display: inline-block;*/
    /*height: 44px;*/
    /*margin: 0 3px;*/
    /*width: 44px;*/
}

    [class^="control-"]:hover {
        -webkit-filter: brightness(85%);
        filter: brightness(85%);
        cursor: pointer;
    }

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

a {
    text-decoration: none !important;
    color: #666;
}

    a:hover {
        color: #666;
        text-decoration: none;
    }
